<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl" %>
<div class="tag_cloud">
    <%
        var TagCloud = TagService.GetAllTags();
        foreach (var t in TagCloud)
        {%>
    <%=Html.ActionLink(t.TagName, "List", "Tag", new { TagName = t.TagName.ToLower() }, new { @class = TagService.GetTagClass(t.TagCount, TagCloud.Count) })%>
    <% }%>
</div>
